-
Notifications
You must be signed in to change notification settings - Fork 3
CFM-31_Enrollment_Flows_enable_people_picker_for_self_service #324
base: develop
Are you sure you want to change the base?
CFM-31_Enrollment_Flows_enable_people_picker_for_self_service #324
Conversation
ada4095
to
22163b4
Compare
22163b4
to
f2c2a63
Compare
@@ -661,6 +661,7 @@ | |||
"plugin": {}, | |||
"ordr": {}, | |||
"actor_type": { "type": "string", "size": 2 }, | |||
"enable_person_find": { "type": "boolean" }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I know on the dev call we decided to move this configuration to EnrollmentFlowStep, but on further reflection I wonder if it should actually be specific to the AttributeCollector? I don't think any other plugin is likely to use this setting...
msgstr "Enable People Picker for Self Service" | ||
|
||
msgid "EnrollmentFlowSteps.enable_person_find.desc" | ||
msgstr "Enable people picker for self-service enrollments, see <a href=\"https://spaces.at.internet2.edu/display/COmanage/COmanage+Registry+PE+Technical+Manual\">Registry Technical Manual</a> for privacy considerations" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We'll need a deep link to the specific page (and preferably anchor) with the discussion of privacy consideration. This probably belongs in the Attribute Collector documentation.
print $this->element('form/listItem', [ | ||
'arguments' => [ | ||
'fieldName' => 'person_picker_display_fields', | ||
'labelIsTextOnly' => true, | ||
'groupedControls' => [ | ||
// each key is the fieldName of the control we are going to create | ||
'person_picker_email_address_type_id' => [ | ||
'fieldOptions' => [ | ||
'label' => __d('field', 'mail'), | ||
'empty' => '(' . __d('operation', 'all') . ')', | ||
// 'all' => '(' . __d('operation', 'all') . ')' | ||
], | ||
], | ||
'person_picker_identifier_type_id' => [ | ||
'fieldOptions' => [ | ||
'label' => __d('field', 'identifier'), | ||
'empty' => '(' . __d('operation', 'all') . ')', | ||
// 'all' => '(' . __d('operation', 'all') . ')', | ||
], | ||
], | ||
'person_picker_display_types' => [ | ||
'singleRowItem' => true, | ||
'fieldLabel' => __d('field', 'CoSettings.person_picker_display_types') | ||
] | ||
], | ||
]]); | ||
// print $this->element('form/listItem', [ | ||
// 'arguments' => [ | ||
// 'fieldName' => 'person_picker_display_fields', | ||
// 'labelIsTextOnly' => true, | ||
// 'groupedControls' => [ | ||
// // each key is the fieldName of the control we are going to create | ||
// 'person_picker_email_address_type_id' => [ | ||
// 'fieldOptions' => [ | ||
// 'label' => __d('field', 'mail'), | ||
// 'empty' => '(' . __d('operation', 'all') . ')', | ||
//// 'all' => '(' . __d('operation', 'all') . ')' | ||
// ], | ||
// ], | ||
// 'person_picker_identifier_type_id' => [ | ||
// 'fieldOptions' => [ | ||
// 'label' => __d('field', 'identifier'), | ||
// 'empty' => '(' . __d('operation', 'all') . ')', | ||
//// 'all' => '(' . __d('operation', 'all') . ')', | ||
// ], | ||
// ], | ||
// 'person_picker_display_types' => [ | ||
// 'singleRowItem' => true, | ||
// 'fieldLabel' => __d('field', 'CoSettings.person_picker_display_types') | ||
// ] | ||
// ], | ||
// ]]); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are we removing these configurations from CO Settings? If so, we should remove them from schema.json and the model code as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we are. I will make the extra changes.
No description provided.